<template>
  <div>auth--admin</div>
</template>
<script setup>
import {authAdmin} from '../../../api/index.js'
import {ref ,reactive,onMounted} from 'vue'

const pinationData = reactive({
  pageNum:1,
  pageSize:10,
})

//一般在onMounted中获取数据
onMounted(()=>{
  authAdmin(pinationData).then(({data})=>{
    console.log(data,'authAdmin')
    
  })
})
</script>

<style scoped></style>